package com.basic.member.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: MemberLogiBo
 * Package: com.basic.member.dto
 * Description:
 *
 * @Author: Night
 * @Create: 2024/10/28 - 16:31
 * @Version: 1.0
 */
@Data
public class MemberLoginBo {
    @NotBlank(groups = {AlterPass.class}, message = "用户Id不能为空")
    private String boId;
    @NotBlank(groups = {Login.class}, message = "用户账号不能为空")
    private String loginName;
    @NotBlank(groups = {Login.class, AlterPass.class}, message = "用户密码不能为空")
    private String loginPwd;
    @NotBlank(groups = {Login.class}, message = "唯一ID不能为空")
    private String keyId;
    //@NotBlank(groups = {Login.class}, message = "验证码不能为空")
    private String captcha;

    // 登录校验
    public interface Login{}
    // 修改密码
    public interface AlterPass{}
}
